package com.github.chirspan.xaas.cfg.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.chirspan.xaas.mybatis.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @Author: chenpan
 * @Date: 2021-04-07 18:24:53
 * @Description: 应用配置
 */
@TableName(value = "xaas_cfg_config")
@Data
@ToString(callSuper = true)
public class CfgConfig extends BaseModel {

    @ApiModelProperty(value = "所属应用")
    @TableField(value = "app_id")
    private String appId;

    @ApiModelProperty(value = "配置编码")
    @TableField(value = "config_code")
    private String configCode;

    @ApiModelProperty(value = "配置内容")
    @TableField(value = "config_value")
    private String configValue;

    @ApiModelProperty(value = "描述")
    @TableField(value = "memo")
    private String memo;

}